using System;

namespace KodeIT.Web
{
    /// <summary>
    /// This class contains the standard HTTP header names defined in the RFC for HTTP/1.1. 
    /// The header names, as used by the native filter, must end with a colon (:).
    /// </summary>
    public static class HttpHeader
    {
        internal const string Method = "method";
        internal const string Url = "URL";
        internal const string Version = "version";
        internal const string Status = "status";

        public const string Accept = "Accept:";
        public const string AcceptCharset = "Accept-Charset:";
        public const string AcceptEncoding = "Accept-Encoding:";
        public const string AcceptLanguage = "Accept-Language:";
        public const string Authorization = "Authorization:";
        public const string Expect = "Expect:";
        public const string From = "From:";
        public const string Host = "Host:";
        public const string IfMatch = "If-Match:";
        public const string IfModifiedSince = "If-Modified-Since:";
        public const string IfNoneMatch = "If-None-Match:";
        public const string IfRange = "If-Range:";
        public const string IfUnmodifiedSince = "If-Unmodified-Since:";
        public const string MaxForwards = "Max-Forwards:";
        public const string ProxyAuthorization = "Proxy-Authorization:";
        public const string Range = "Range:";
        public const string Referer = "Referer:";
        public const string TE = "TE:";
        public const string UserAgent = "User-Agent:";

        public const string CacheControl = "Cache-Control:";
        public const string Connection = "Connection:";
        public const string Date = "Date:";
        public const string Pragma = "Pragma:";
        public const string Trailer = "Trailer:";
        public const string TransferEncoding = "Transfer-Encoding:";
        public const string Upgrade = "Upgrade:";
        public const string Via = "Via:";
        public const string Warning = "Warning:";

        public const string AcceptRanges = "Accept-Ranges:";
        public const string Age = "Age:";
        public const string ETag = "ETag:";
        public const string Location = "Location:";
        public const string ProxyAuthenticate = "Proxy-Authenticate:";
        public const string RetryAfter = "Retry-After:";
        public const string Server = "Server:";
        public const string Vary = "Vary:";
        public const string WWWAuthenticate = "WWW-Authenticate:";
    }
}
